XXXXXXXXXXXXXXXXXXXXXXXXvoid(0)" frameborder="0"
name="MSearchResults" id="MSearchResults">
Interface of the processors providing motion: the state at any time stamp (and odometry). If configured as state provider, the problem uses it to get the current state.
More...
#include <core/processor/motion_provider.h>
|
| void | addTypes (const TypeComposite &_state_types) |
| | Adds the types of the states provided (with identity odometry). Throws if a key already has a different type. More...
|
| |
Interface of the processors providing motion: the state at any time stamp (and odometry). If configured as state provider, the problem uses it to get the current state.
◆ MotionProvider()
| MotionProvider::MotionProvider |
( |
const TypeComposite & |
_state_types, |
|
|
const YAML::Node & |
_params |
|
) |
| |
Constructor.
- Parameters
-
| _state_types | TypeComposite with the types of the states that this motion provider will provide. |
| _params | YAML node with the parameters of the motion provider ('state_provider' and optionally 'state_provider_order'). |
◆ ~MotionProvider()
| wolf::MotionProvider::~MotionProvider |
( |
| ) |
|
|
inlinevirtual |
◆ addTypes()
| void MotionProvider::addTypes |
( |
const TypeComposite & |
_state_types | ) |
|
|
protected |
Adds the types of the states provided (with identity odometry). Throws if a key already has a different type.
◆ getOdometry()
◆ getOrder()
| unsigned int wolf::MotionProvider::getOrder |
( |
| ) |
const |
|
inline |
Returns the order of the state provider to be used by the problem. Throws if not a state provider.
◆ getState() [1/2]
Returns the state at a time stamp.
- Parameters
-
| _ts | The time stamp of the state to retrieve |
| _keys | The keys of the states to retrieve (all keys if empty) |
Implemented in wolf::ProcessorMotion.
◆ getState() [2/2]
Returns the state at the time stamp of the last motion.
- Parameters
-
| _keys | The keys of the states to retrieve (all keys if empty) |
Implemented in wolf::ProcessorMotion.
◆ getTimeStamp()
| virtual TimeStamp wolf::MotionProvider::getTimeStamp |
( |
| ) |
const |
|
pure virtual |
◆ isStateProvider()
| bool wolf::MotionProvider::isStateProvider |
( |
| ) |
const |
|
inline |
Returns whether the motion provider is configured as a state provider.
◆ setOdometry()
Sets the odometry (all the keys of the motion provider are required)
◆ setOrder()
| void wolf::MotionProvider::setOrder |
( |
unsigned int |
_order | ) |
|
|
inline |
Sets the order of the state provider to be used by the problem. Throws if not a state provider.
◆ is_state_provider_
| bool wolf::MotionProvider::is_state_provider_ |
|
protected |
Whether this motion provider is configured as a state provider.
◆ state_provider_order_
| unsigned int wolf::MotionProvider::state_provider_order_ |
|
protected |
If a state provider, the order to be used by the problem.
The documentation for this class was generated from the following files: